<%@ page language="java" pageEncoding="UTF-8"%>  
<%  
String path = request.getContextPath();  
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";  
%>  
<!DOCTYPE html>  
<html>  
<head>  
<base href="<%=basePath%>">  
</head>  
<body>  
  <h1>登陆页面</h1>
  <form action="<%=path%>/login.do" method = "post">
  		用户名: <input type = "text" name = "username"><br><br>
  		
  		密码: <input type = "password" name = "password"><br><br>
  		
  		<input type = "submit" value = "登陆"> &nbsp;&nbsp;&nbsp;&nbsp;${loginFlag}
  
  </form>
  
  
</body>   
</html>  